package com.tensquare.user.controller;

import com.tensquare.entity.Result;
import com.tensquare.entity.StatusCode;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
@RequestMapping(value = "user")
public class ClientController {

//    @RequestMapping(value = "pubKey",method = RequestMethod.POST)
//    private Result getPubKey(){
//        HashMap<String, String> map = new HashMap<>();
//        map.put("secretKey",secretKey);
//        return new Result(true,"成功", StatusCode.OK,map);
//    }
}
